home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10875 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  44 lines

  1. Newsgroups: comp.lang.c
  2. Path: phcoms4.seri.philips.nl!misf1!news
  3. From: "H.J. Bob Peeters" <bpeeters@best.ms.philips.com>
  4. Subject: Searching for Include checker
  5. Content-Type: text/plain; charset=us-ascii
  6. Message-ID: <314FE6FA.6D3C@best.ms.philips.com>
  7. Sender: news@ms.philips.nl
  8. Content-Transfer-Encoding: 7bit
  9. Cc: mrsendes
  10. Organization: Philips Medical Systems
  11. Mime-Version: 1.0
  12. Date: Wed, 20 Mar 1996 11:07:38 GMT
  13. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/735)
  14.  
  15. Hello,
  16.  
  17. Can anybody help me find a tool to check for the presence of the proper
  18. #include
  19. statements in a file?
  20.  
  21. Our dept. is currently investigating the switch to using nested
  22. includes.
  23. But in order to keep this manageable within our vast amount of files we
  24. need some
  25. tool support.
  26.  
  27. Here are some requirements:
  28.  
  29. - files should be self-contained after succesful check
  30.   (obvious, we want compilable files, including h-files.)
  31. - detect superfluous includes
  32.   (i.e. nothing used in this file from that file)
  33. - files should explicitly include themselves whatever they need
  34.   (i.e. not lean on includes in included files, which could be removed
  35. at some time)
  36.  
  37. Note: All included stuff satisfies naming conventions - filename
  38. prefixes
  39. all (exported) identifiers (with a few manageable exceptions). This
  40. might ease the checking algorithm.
  41.  
  42.  
  43. Thanks ahead, Bob Peeters
  44.